<?php
include "../config/koneksi.php";

$query = "INSERT INTO `orderdata` VALUES (NULL,'$_POST[namalengkap]','$_POST[email]','$_POST[nohp]','$_POST[kodebarang]')";

if (mysql_query($query)){
	echo "<script type='text/javascript'>
                    </script>";
}else{
	echo "Error";
}

?>